Because the host environment can not be linked to the network, sad, so only to find ways to download the package, upload to the host to installEnvironment: el6.x86_641. Gem installation [http://centos.ustc.edu.cn/centos/6/os/x86_64/Packages/]Ruby 1.9. Version 2 has the Ruby Gem installed by default, if your version is lower than this? Well, then look down.Install
1. Background
When rails 3.0 was released, many of them worried about installing the gem, which was too slow to download the gem. This is not a slow network speed. Ruby's net: HTTP must pass through the wall and go through the sea to reach the rubyforge server. Even if the network environment is very good, the maximum speed is 50 K. What's more, there is no progress bar. Installing a
Problem Description:
Under the Ubuntu system, the Ruby development environment is installed first through the command sudo apt-get install Ruby, and then with the command-line gem install Jekyll install the GitHub page's development tool Jekyll, encountered an error message: Failed to build
Link: http://www.iteye.com/topic/797489
Curl official download http://curl.haxx.se/download.html
First download the tool from curl, remember to download the tool on the windows platform, select the version that supports SSH2 and SSL protocols, so that you can support the gem download methods for these two protocols, if errors are used during use, download all other attachments on the page.
Note: curl is a command line download tool that supports
The following error is always reported when you install the gem.
WARNING: RubyGems 1.2 + index not found:
RubyGems will revert to legacy indexes degrading performance.
Or the gem install is too slow or cannot be connected to timeout.
You can install
In my previous blog post, I documented how Ruby operates the environment configuration of the MongoDB database in a Windows environment. The last step describes the driver package for installing MongoDB. Using the Gem Online installation method. The purpose of this article is to use GEMS for offline installation of GEM kits when the target machine or environment cannot connect to the Internet.1. in the http
Guaranteed Ruby and Gem without problemsRubyinstaller-1.9.2-p180.exe two radio boxes are selected when the installation is installed with an administrator openC:\Documents and Settings\administrator>rubyRuby 1.9.2p180 (2011-02-18) [i386-mingw32]ruby-vUpdate Rubygem gem Update--systemC:\Documents and Settings\administrator>gem-v1.5.2Gem
SlaveRailsUpgrade to GEM uninstall and gem cleanupRecentRailsUpgrade from 1.1.6 to 1.2.1. If rails1.1.6 has been installed, how can this problem be solved?
1. Upgrade to 1.2.1 and retain 1.1.6If you do not want to delete the previous version, first download the local installation package rails1.2.1Http://bbs.railschina.com/thread-54-1-1.htmlRun the gem
Install MySQL gem for half a day before installation.
A small record:
First of all, this article is useful.Article:
Http://geryit.com/blog/2011/01/installing-mysql-with-rails-on-mac-os-x-snow-leopard/
My own environment is
Mac OS X 10.6
$ Rvm -- versionRvm 1.6.5 by Wayne E. Seguin (wayneeseguin@gmail.com) [https://rvm.beginrescueend.com/]
$ Mysql -- versionMySQL ver 14.14 distrib 5.1.
Why is there this?Due to domestic network reasons (you know), the intermittent connection to the resource file that rubygems.org stored on Amazon S3 failed. So you will encounter gem install rack or bundle install when the time is not responding, specifically can be used gem instal
Install and use bundler in Ruby to manage multiple versions of gem and rubybundler
With rbenv to manage a multi-version ruby environment, we also need a tool that can manage multiple versions of gem (such as rails), that is, bundler. The project background is not detailed, for more information, visit http://bundler.io/on the official website.
Ruby on rails gem install pg cannot be installed, rubyrails
gem install pg -v '0.18.2'Building native extensions. This could take a while...ERROR: Error installing pg: ERROR: Failed to build gem native extension. current directory: /Users/bevan/.rvm/gems/ruby-2.3.0/g
Ruby language upgrades are still more diligent. But a large number of versions make library compatibility a big problem. Some gems indicate that Ruby is explicitly unsupported by a particular version, while some gems are incompatible with a higher version. In addition, the gem itself has a version, it is simply chaos into a porridge. Even with ruby versioning tools such as RVM and rbenv, you can't avoid falling into a hole. And some other environmenta
#gem install json-v ' 1.8.3 'Building native extensions. This could take a while... Error:error installing json:ERROR:Failed to build gem native extension. /usr/bin/ruby1.9.1extconf.rb/USR/LIB/RUBY/1.9.1/RUBYGEMS/CUSTOM_REQUIRE.RB:36:inch' Require': Cannot load such file--MKMF (Loaderror) from/USR/LIB/RUBY/1.9.1/RUBYGEMS/CUSTOM_REQUIRE.RB:36:inch' Requ
When using IOS_BAIDUSDK, you need to use the cocoapods, so you need to follow the steps to continue. However, you will encounter some problems in the process:1. Sudo gem install cocoapods run this error1 rubertdemacbook-pro:~ rubert$ sudo gem install cocoapods2 /system/library/frameworks/ ruby.framework/versions/2.0/us
Starling is an open-source Message Queue Server written in Ruby. For more information, see:
Http://www.ooso.net/archives/506
The following exception occurred when installing Starling for the server today. Briefly describe the solution.
When you execute gem install memcache-client Starling, the following error occurs:
Error: http://gems.rubyforge.org/does not appear to be a rep
The reason is that
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.